package com.wewins.fota.common.constant;

import org.springframework.http.HttpStatus;

public interface HttpConst {
    String HEADER_KEY_RESPONSE_SERVER_IP = "Host";
    String HEADER_KEY_REQUEST_SERVER_IP = "X-Real-IP";

    int STATUS_OK = HttpStatus.OK.value();
    int STATUS_ERROR = HttpStatus.BAD_REQUEST.value();
    int STATUS_FORBIDDEN = HttpStatus.FORBIDDEN.value();
    int STATUS_UNAUTHORIZED = HttpStatus.UNAUTHORIZED.value();

    String MSG_NO_UPDATE = "STATUS_NO_UPDATE";
    String MSG_FAIL_SERVER_EXCEPTION = "FOTA_SERVER_INNER_EXCEPTION";
    String MSG_FAIL_BIND_PARAM_EXCEPTION = "FOTA_REQ_PARAM_BIND_EXCEPTION";
    String MSG_FAIL_FILE_NOT_EXIST = "FILE_NOT_EXIST";


}
